package com.vs.wms.dao;

import java.util.List;

import com.vs.wms.pojo.Admin;

public interface AdminDao {

	/**
	 * @return List<Admin>
	 */
	public List<Admin> getAdmins();
	
	/**
	 * 根据userName,userPass获取AdminInfo
	 * @param userName
	 * @param userPass
	 * @return Admin
	 */
	public Admin getAdminByUP(String userName, String userPass);
	
	/**
	 * 根据Admin ID获取AdminInfo
	 * @param id
	 * @return Admin
	 */
	public Admin getAdminById(int id);
}
